//
//  CodeInputView.h
//  ZhangLu
//
//  Created by runone02 on 2018/11/19.
//  Copyright © 2018年 com.runone. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^SelectCodeBlock)(NSString *);
@interface CodeInputView : UIView
@property (nonatomic, strong) UITextView * textView;
@property (nonatomic, assign) NSInteger inputNum;//验证码输入个数（4或6个）
@property (nonatomic, copy) SelectCodeBlock CodeBlock;
- (instancetype)initWithFrame:(CGRect)frame inputType:(NSInteger)inputNum selectCodeBlock:(SelectCodeBlock)CodeBlock;


- (void)clearText;
@end
